package com.songlanyun.modules.refillorder.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.refillcard.entity.SaleRefillCardEntity;
import com.songlanyun.modules.refillorder.entity.SaleRefillCardOrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.songlanyun.modules.refillorder.model.RefillCardOrderVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 充值卡订单
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-16 14:26:32
 */
@Mapper
public interface SaleRefillCardOrderDao extends BaseMapper<SaleRefillCardOrderEntity> {

    void saveOrder(SaleRefillCardOrderEntity order);

    IPage<SaleRefillCardOrderEntity> queryRefillCardOrderPage(IPage<SaleRefillCardOrderEntity> page, @Param("vo") Map<String, Object> params);

    List<RefillCardOrderVO> exportList(@Param("vo") Map<String, Object> params);
}
